package so.sao.code.service.domain.entity;

import javax.persistence.Entity;
import javax.persistence.EntityListeners;

import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import lombok.Data;

@Entity
@Data
@EntityListeners(AuditingEntityListener.class)
public class TerminalDownloadRecord extends BaseEntity {
	private static final long serialVersionUID = -8265710839415473166L;
	
	/**
	 * 企业id
	 */
	private Long eseId = 0L;
	/**
	 * 工厂id
	 */
	private Long printFactoryId = 0L;
	 
	/**
	 * 终端id
	 */
	private Long terminalId = 0L;
	 
	/**
	 * 分段id使用逗号分隔
	 */
	private String rangeIds ="";
	 
	/**
	 * 标签下载
	 */
	private Integer tagDownloadCount = 0;
	
	/**
	 * 标签类型
	 */
	private Integer tagType = 0;
	/**
	 * 标签状态,0为失败，1为成功
	 */
	private Boolean tagDownloadStatus = false;
}
